package com.mcp.converter.shared.response.analysis;

import lombok.Data;

/**
 * 兼容性统计信息
 * @author zengxiong
 */
@Data
public class CompatibilityStatisticsResult {
    private final int totalSqlCount;
    private final int compatibleCount;
    private final int incompatibleCount;
    private final int errorCount;
    private final double compatibilityPercentage;

    public CompatibilityStatisticsResult(int finalIncompatibleCount, double compatibilityPercentage) {
        this.totalSqlCount = 0;
        this.compatibleCount = 0;
        this.incompatibleCount = finalIncompatibleCount;
        this.errorCount = 0;
        this.compatibilityPercentage = compatibilityPercentage;
    }
}